import request from '@/utils/request'

// 查询会员登录记录列表
export function listMemberLogininfor(query) {
  return request({
    url: '/ums/memberLogininfor/list',
    method: 'get',
    params: query
  })
}

// 查询会员登录记录详细
export function getMemberLogininfor(id) {
  return request({
    url: '/ums/memberLogininfor/' + id,
    method: 'get'
  })
}

// 新增会员登录记录
export function addMemberLogininfor(data) {
  return request({
    url: '/ums/memberLogininfor',
    method: 'post',
    data: data
  })
}

// 修改会员登录记录
export function updateMemberLogininfor(data) {
  return request({
    url: '/ums/memberLogininfor',
    method: 'put',
    data: data
  })
}

// 删除会员登录记录
export function delMemberLogininfor(id) {
  return request({
    url: '/ums/memberLogininfor/' + id,
    method: 'delete'
  })
}
